package com.youdoneed.friends.query;

import com.querydsl.core.types.Path;
import com.querydsl.core.types.PathMetadata;
import com.querydsl.core.types.dsl.DateTimePath;
import com.querydsl.core.types.dsl.StringPath;
import com.querydsl.sql.ColumnMetadata;
import com.youdoneed.friends.model.HasCheckCoolFace;

import javax.annotation.Generated;
import java.sql.Types;

import static com.querydsl.core.types.PathMetadataFactory.forVariable;

/**
 * QHasCheckCoolFace is a Querydsl query type for HasCheckCoolFace
 */
@Generated("com.querydsl.sql.codegen.MetaDataSerializer")
public class QHasCheckCoolFace extends com.querydsl.sql.RelationalPathBase<HasCheckCoolFace> {

    private static final long serialVersionUID = 1642124205;

    public static final QHasCheckCoolFace HasCheckCoolFace = new QHasCheckCoolFace("HasCheckCoolFace");

    public final DateTimePath<java.util.Date> createTime = createDateTime("createTime", java.util.Date.class);

    public final StringPath hasCheckCoolfaceId = createString("hasCheckCoolfaceId");

    public final StringPath searchId = createString("searchId");

    public final StringPath userId = createString("userId");

    public final com.querydsl.sql.PrimaryKey<HasCheckCoolFace> primary = createPrimaryKey(hasCheckCoolfaceId);

    public QHasCheckCoolFace(String variable) {
        super(HasCheckCoolFace.class, forVariable(variable), "null", "HasCheckCoolFace");
        addMetadata();
    }

    public QHasCheckCoolFace(String variable, String schema, String table) {
        super(HasCheckCoolFace.class, forVariable(variable), schema, table);
        addMetadata();
    }

    public QHasCheckCoolFace(String variable, String schema) {
        super(HasCheckCoolFace.class, forVariable(variable), schema, "HasCheckCoolFace");
        addMetadata();
    }

    public QHasCheckCoolFace(Path<? extends HasCheckCoolFace> path) {
        super(path.getType(), path.getMetadata(), "null", "HasCheckCoolFace");
        addMetadata();
    }

    public QHasCheckCoolFace(PathMetadata metadata) {
        super(HasCheckCoolFace.class, metadata, "null", "HasCheckCoolFace");
        addMetadata();
    }

    public void addMetadata() {
        addMetadata(createTime, ColumnMetadata.named("create_time").withIndex(4).ofType(Types.TIMESTAMP).withSize(19).notNull());
        addMetadata(hasCheckCoolfaceId, ColumnMetadata.named("has_check_coolface_id").withIndex(1).ofType(Types.VARCHAR).withSize(32).notNull());
        addMetadata(searchId, ColumnMetadata.named("search_id").withIndex(2).ofType(Types.VARCHAR).withSize(32).notNull());
        addMetadata(userId, ColumnMetadata.named("user_id").withIndex(3).ofType(Types.VARCHAR).withSize(32).notNull());
    }

}

